ArcPad Extension Preferences File Schema
EXTENSIONS Element
See Also  Send comments on this topic.
ArcPad Extension Preferences File Schema > ArcPad Element : EXTENSIONS Element

Glossary Item Box

Description

Used to define an Extension dll and configure its loading settings.

Diagram

EXTENSION Element Sequence EXTENSIONS Element

Overview

EXTENSIONS
Used to define an Extension dll and configure its loading settings.
delayload optional Restriction of xs:string
Sequence
EXTENSION 1..∞
Used to define an Extension dll and configure its loading settings
delayload optional Restriction of xs:string
enabled optional Restriction of xs:string
Specifies if the extension is enabled or not.

Attributes

NameTypeUseDefaultFixedDescription
delayloadRestriction of xs:stringoptionalfalse  

Remarks

  • ExtensionPrefs.apx is a cache of information extracted from extensions/modules when they're loaded for the first time, so that ArcPad knows what each extension does.Then it can make a future decision to delayload them to conserve memory.

    From a C++ perspective, all extensions/module implement APExGetProperty() that tell ArcPad what those extensions do. When we load an extension/module record what each extensions's responses were to APExGetProperty() and save them to ExtensionPrefs.apx.

Examples

Source

<xs:element name="EXTENSIONS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define an Extension dll and configure its loading settings.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="EXTENSION" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute default="false" ref="delayload">
            <xs:annotation>
              <xs:documentation>Specified whether to delay the loading of the extension dll.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="enabled" default="true">
            <xs:annotation>
              <xs:documentation>Specifies if the extension is enabled or not.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute default="false" ref="delayload">
      <xs:annotation>
        <xs:documentation>Specifies whether to delay loading of all extension dlls to conserve memory.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.